package com.qiuhui.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName: Blog
 * @Description: TODO
 * @author: tian
 * @date: 2021/3/22  5:54 下午
 */
@Controller
public class BlogController {
    @RequestMapping(value = "/login")
    public String loginForm(String name, Model model) {
        String query = "name is " + name;
        model.addAttribute("msg", query);
        return "blog";
    }
}
